package com.groupbuying.settleproducer.service.impl;

import com.groupbuying.settleproducer.dao.SettleUshopWithdrawalYsNativeClearDao;
import com.groupbuying.settleproducer.domain.SettleUshopWithdrawalYsNativeClearDO;
import com.groupbuying.settleproducer.service.SettleUshopWithdrawalYsNativeClearService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SettleUshopWithdrawalYsNativeClearServiceImpl implements SettleUshopWithdrawalYsNativeClearService {
	@Autowired
	private SettleUshopWithdrawalYsNativeClearDao withdrawalYsNativeClearDao;
	
	@Override
	public SettleUshopWithdrawalYsNativeClearDO get(String withdrawalNativeId){
		return withdrawalYsNativeClearDao.get(withdrawalNativeId);
	}
	
	@Override
	public List<SettleUshopWithdrawalYsNativeClearDO> list(Map<String, Object> map){
		return withdrawalYsNativeClearDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return withdrawalYsNativeClearDao.count(map);
	}
	
	@Override
	public int save(SettleUshopWithdrawalYsNativeClearDO withdrawalYsNativeClear){
		return withdrawalYsNativeClearDao.save(withdrawalYsNativeClear);
	}
	
	@Override
	public int update(SettleUshopWithdrawalYsNativeClearDO withdrawalYsNativeClear){
		return withdrawalYsNativeClearDao.update(withdrawalYsNativeClear);
	}
	
	@Override
	public int remove(String withdrawalNativeId){
		return withdrawalYsNativeClearDao.remove(withdrawalNativeId);
	}
	
	@Override
	public int batchRemove(String[] withdrawalNativeIds){
		return withdrawalYsNativeClearDao.batchRemove(withdrawalNativeIds);
	}
	
}
